package cn.itrip.dao;

import cn.itrip.beans.pojo.ItripHotelRoom;
import cn.itrip.beans.vo.HotelRoomParam;
import cn.itrip.beans.vo.ItripHotelRoomVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItripHotelRoomMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItripHotelRoom record);

    ItripHotelRoom selectByPrimaryKey(Long id);

    List<ItripHotelRoom> selectAll();

    int updateByPrimaryKey(ItripHotelRoom record);

    List<ItripHotelRoomVO> selectByParam(@Param("par") HotelRoomParam hotelRoomParam);

    ItripHotelRoom selectById(Long id);
}